#include <QtPlugin>
#include <QObject>
#include "SRPluginInterface.h"
#include <QString>
#include "SRCommand.h"
#include "SRCommandList.h"
#include <Phonon/MediaObject>
#include <Phonon/VideoWidget>
#include <Phonon/AudioOutput>
#include <Phonon/VideoPlayer>
#include <Phonon/MediaSource>
#include "SRCommandList.h"


class MediaPlayerPlugin : public QObject, public SRPluginInterface
{
Q_OBJECT
Q_INTERFACES(SRPluginInterface)

public:
	QString initiate();
	SRCommandList doCommand(SRCommand c);
	QString destroy();
	QString getName();
	QString getVersion();

private:
	Phonon::MediaObject *media;
	Phonon::VideoWidget *videoWidget;
	Phonon::AudioOutput *audioOutput;
	Phonon::VideoPlayer *videoPlayer;
};
